package lj.elevator.erp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import lj.elevator.erp.pojo.Orderdetail;
import lj.elevator.erp.pojo.OrderdetailExample;

public interface OrderdetailMapper {
	int countByExample(OrderdetailExample example);

	int deleteByExample(OrderdetailExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(Orderdetail record);

	int insertSelective(Orderdetail record);

	List<Orderdetail> selectByExample(OrderdetailExample example);

	Orderdetail selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") Orderdetail record, @Param("example") OrderdetailExample example);

	int updateByExample(@Param("record") Orderdetail record, @Param("example") OrderdetailExample example);

	int updateByPrimaryKeySelective(Orderdetail record);

	int updateByPrimaryKey(Orderdetail record);

	List<Orderdetail> selectOrderdetailByOrderId(Integer orderId);
}